LIBPOKER = ../lib/libpoker@A@

CC = @CC@ 
CFLAGS = @CFLAGS@ 
RANLIB = @RANLIB@ 
AR = ar
RM = @RM@
CC_OBJ = $(CC) $(CFLAGS) -I../include @CC_OBJ@
CC_EXE = $(CC) $(CFLAGS) -I../include @CC_EXE@
RUN_IT = @RUN_IT@
LIB_CMD = @LIB_CMD@

PROGRAMS = five_card_hands@E@ seven_card_hands@E@ fish@E@ eval@E@ \
	hcmp2@E@ hcmpn@E@

all : $(PROGRAMS)

five_card_hands@E@: five_card_hands@O@ $(LIBPOKER)
	$(CC_EXE)

seven_card_hands@E@: seven_card_hands@O@ $(LIBPOKER)
	$(CC_EXE)

fish@E@: fish@O@ $(LIBPOKER)
	$(CC_EXE)

eval@E@: eval@O@ $(LIBPOKER)
	$(CC_EXE)

hcmp2@E@: hcmp2@O@ $(LIBPOKER)
	$(CC_EXE)

hcmpn@E@: hcmpn@O@ $(LIBPOKER)
	$(CC_EXE)

clean:
	$(RM) core *@O@ $(PROGRAMS) 

.c@O@:
	$(CC_OBJ)

